package com.example.fresh_fruit.service;

import com.example.fresh_fruit.entity.Supplier;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author :飞天の鱼
 * @date : 2022/8/16 16:55
 */
@Repository
public interface SupplierService {

    /**
     * 插入供应商
     * @param supplier
     * @return
     */
    boolean insertSupplier(Supplier supplier);

    boolean upSupplier(Supplier supplier);

    List<Supplier> selectAll();

    List<Supplier> findName(String name);
}
